public class Enrollment {
    /*
    该类用于存储选课信息。
     */
    private String courseId;//课程id
    private String teacherId;//教师Id
    private String studentId;//学生id
    private double grade;//课程成绩
    private String ClassroomId;//教室编号
    private String feedback;//反馈

    public Enrollment(String courseId, String teacherId, String studentId, double grade, String feedback
            , String ClassroomId) {
        this.courseId = courseId;
        this.teacherId = teacherId;
        this.studentId = studentId;
        this.grade = grade;
        this.feedback = feedback;
        this.ClassroomId = ClassroomId;
    }
    public Enrollment() {

    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public double getGrade() {
        return grade;
    }

    public void setGrade(double grade) {
        this.grade = grade;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    public String getClassroomId() {
        return ClassroomId;
    }

    public void setClassroomId(String classroomId) {
        ClassroomId = classroomId;
    }
}
